import { ProfileEntity } from "./ProfileEntity";
import { BaseEntity } from "./baseEntity";

export const UserFields = `
    id
    updateAt
    createAt
    account
    address
    name
    role
    profileId
    token
    hash_key
`

export interface UserEntity extends BaseEntity {
    account: string;
    name: string;
    role: number;
    hash_key: string
    address: string
    profile: ProfileEntity
    profileId: number;
    token?: string
}